package com.zhdl.modules.common.formula.entity;

import com.project.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "dictionary_formula")
public class FormulaDictionary extends BaseEntity<FormulaDictionary, Integer> {

    @Id
    protected Integer id;

    /**
     * 套餐字段名称
     * <p>
     * 其中包括，型号，配方，规格等
     */
    protected String name;

    /**
     * 套餐字段值
     */
    protected String value;

    /**
     * 考虑是否增加类型
     * 0 为型号  1 为配方  2 为规格
     */
    protected Integer type;

}
